using InventoryIssue.Dtos;
using InventoryIssue.ErrorCode;
using MediatR;

namespace InventoryIssue.API.Read.Application.Command.Allocate
{
    public class GetInboundRecordCommand : IRequest<APIPaging<InboundRecordDto>>
    {
        public int? PageIndex { get; set; } = 1;
        public int? PageSize { get; set; } = 15;
        /// <summary>
        /// 调拨单号
        /// </summary>
        public int? AllocateId { get; set; }
        /// <summary>
        /// 入库日期开始
        /// </summary>
        public DateTime? InboundDateStart { get; set; }
        /// <summary>
        /// 入库日期结束
        /// </summary>
        public DateTime? InboundDateEnd { get; set; }
        /// <summary>
        /// 入库仓库
        /// </summary>
        public string? InboundWarehouse { get; set; }
        /// <summary>
        /// 产品名称
        /// </summary>
        public string? ProductName { get; set; }
        /// <summary>
        /// 入库操作人
        /// </summary>
        public string? InboundOperator { get; set; }
    }
} 